]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix DND to left side of the screen
authorOwen W. Taylor <otaylor@fishsoup.net>
Tue, 7 Jul 2009 09:51:56 +0000 (10:51 +0100)
committerOwen W. Taylor <otaylor@fishsoup.net>
Tue, 7 Jul 2009 09:58:49 +0000 (10:58 +0100)
Set the size of the Dash actor to 0x0 so that it doesn't
interfere with drag and drop.

http://bugzilla.gnome.org/show_bug.cgi?id=587899

js/ui/overlay.js

index 719f666e19018c1450d761b076673e26db2adcd9..999dd05388b8436f02bcf6ae16c0c854d8215cc6 100644 (file)
@@ -232,7 +232,8 @@ Dash.prototype = {
         let resultsHeight = global.screen_height - Panel.PANEL_HEIGHT - DASH_SECTION_PADDING - bottomHeight;
         let detailsHeight = global.screen_height - Panel.PANEL_HEIGHT - DASH_SECTION_PADDING - bottomHeight;
 
-        this.actor = new Clutter.Group({});
+        // Size the actor to 0x0 so as not to interfere with DND
+        this.actor = new Clutter.Group({ width: 0, height: 0 });
         this.actor.height = global.screen_height;